import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {NgExApiService} from 'ng-ex-tools';
import {ServerConfigService} from './server-config.service';

@Injectable({
  providedIn: 'root'
})
export class QuestionService extends NgExApiService {

  constructor(http: HttpClient, serverConfig: ServerConfigService) {
    super(http, serverConfig);
    this.baseUrl = '/question/';
    this.urls = {
      paginationUrl: '',
    };
  }
}
@Injectable({
  providedIn: 'root'
})
export class InterviewerService extends NgExApiService {

  constructor(http: HttpClient, serverConfig: ServerConfigService) {
    super(http, serverConfig);
    this.baseUrl = '/interviewer/';
    this.urls = {
      paginationUrl: '',
      login: 'login/'
    };
  }
}
